/*
 * Copyright (C) 2011 SANSOU SYSTEMS Co., Ltd. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package jp.co.sansou.android.atnd.beans;

import jp.co.sansou.android.atnd.common.Util;

/**
 * ATNDイベントのJavaBeansです。
 *
 * @author y-yamaguchi
 */
public class AtndEventBean {

    private int eventId;

    private String title;

    private String theme;

    private String description;

    private String eventUrl;

	private String startedAt;

    private String endedAt;

    private String url;

	private int limit;

    private String address;

    private String place;

	private double lat;

    private double lon;

    private int ownerId;

    private String ownerNickname;

    private String ownerTwitterId;

    private int accepted;

    private int waiting;

	private String updatedAt;

    private boolean selected;

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int event_id) {
        this.eventId = event_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
		this.title = Util.getJsonString(title);
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
		this.theme = Util.getJsonString(theme);
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
		this.description = Util.getJsonString(description);
    }

    public String getEventUrl() {
        return eventUrl;
    }

    public void setEventUrl(String event_url) {
		this.eventUrl = Util.getJsonString(event_url);
    }

	public String getStartedAt() {
        return startedAt;
    }

	public void setStartedAt(String started_at) {
        this.startedAt = started_at;
    }

	public String getEndedAt() {
        return endedAt;
    }

	public void setEndedAt(String ended_at) {
        this.endedAt = ended_at;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
		this.url = Util.getJsonString(url);
    }

	public int getLimit() {
        return limit;
    }

	public void setLimit(int limit) {
		this.limit = limit;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
		this.address = Util.getJsonString(address);
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
		this.place = Util.getJsonString(place);
    }

	public double getLat() {
        return lat;
    }

	public void setLat(double lat) {
		this.lat = lat;
    }

	public double getLon() {
        return lon;
    }

	public void setLon(double lon) {
		this.lon = lon;
    }

    public int getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(int owner_id) {
        this.ownerId = owner_id;
    }

    public String getOwnerNickname() {
        return ownerNickname;
    }

    public void setOwnerNickname(String owner_nickname) {
		this.ownerNickname = Util.getJsonString(owner_nickname);
    }

    public String getOwnerTwitterId() {
        return ownerTwitterId;
    }

    public void setOwnerTwitterId(String owner_twitter_id) {
		this.ownerTwitterId = Util.getJsonString(owner_twitter_id);
    }

    public int getAccepted() {
        return accepted;
    }

    public void setAccepted(int accepted) {
        this.accepted = accepted;
    }

    public int getWaiting() {
        return waiting;
    }

    public void setWaiting(int waiting) {
        this.waiting = waiting;
    }

	public String getUpdatedAt() {
        return updatedAt;
    }

	public void setUpdatedAt(String updated_at) {
        this.updatedAt = updated_at;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

}
